There was an errant y that caused some troughs to not be drawn.
And also set the state of the fill node.
gtk_css_node_set_state (priv->trough_node, state);
if (priv->highlight_node)
gtk_css_node_set_state (priv->highlight_node, state);
+ if (priv->fill_node)
+ gtk_css_node_set_state (priv->fill_node, state);
}
static void
gtk_style_context_get_margin (context, gtk_style_context_get_state (context), &margin);
x += margin.left;
- y += y + margin.top;
+ y += margin.top;
width -= margin.left + margin.right;
height -= margin.top + margin.bottom;